package com.sss.hloster0406;

import java.util.Random;

public class TestResults {

	public static void main(String[] args) {
		Print p = new Print();
		Random t = new Random();
		Student[] stu = new Student[5];
		stu[0] = new English(1515410501, "张铁蛋", 1, 22, t.nextInt(100), t.nextInt(100), t.nextInt(100));
		stu[1] = new Computer(151410502, "赵棒槌", 2, 21, t.nextInt(100), t.nextInt(100), t.nextInt(100), t.nextInt(100));
		stu[2] = new Literature(151410503, "王铜板", 1, 23, t.nextInt(100), t.nextInt(100), t.nextInt(100), t.nextInt(100));
		stu[3] = new English(151410504, "诸葛钢铁", 2, 22, t.nextInt(100), t.nextInt(100), t.nextInt(100));
		stu[4] = new Computer(151410505, "欧阳我去", 1, 20, t.nextInt(100), t.nextInt(100), t.nextInt(100), t.nextInt(100));
		for(Student i :stu) {
			p.print(i);
		}
	}

}
